package com.cainiao.mapper;

import com.cainiao.pojo.QrtzJobListeners;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface QrtzJobListenersMapper {
    /**
     *  根据主键删除数据库的记录,qrtz_job_listeners
     *
     * @param jobName
     * @param jobGroup
     * @param jobListener
     */
    int deleteByPrimaryKey(@Param("jobName") String jobName, @Param("jobGroup") String jobGroup, @Param("jobListener") String jobListener);

    /**
     *  新写入数据库记录,qrtz_job_listeners
     *
     * @param record
     */
    int insert(QrtzJobListeners record);

    /**
     *  动态字段,写入数据库记录,qrtz_job_listeners
     *
     * @param record
     */
    int insertSelective(QrtzJobListeners record);
}